package chapter10;

import java.io.FileInputStream;
import java.io.IOException;

public class AccessExceptionMsg {
    public static void main(String[] args) {
        try {
            FileInputStream fis = new FileInputStream("a.txt");
        } catch (IOException ioe) {
            //打印异常描述信息
            System.out.println(ioe.getMessage());
            //输出堆栈信息
            ioe.printStackTrace();
        }
    }
}
